# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        黄周云  
# Name:         demo04
# Description:
# Author:       ASUS
# Date:         2019/3/20
#-------------------------------------------------------------------------------


num = 200
a_list = [2,23,45,69,0]

def chfa(*args):
    ret = []
    try:
        for item in args:
            ret.append(num / item)
    except Exception as e:
        return -1,e                        #用于从函数任意深度退出函数
    return 1,ret
if __name__=="__main__":
    tmp = chfa(*a_list)
    if tmp[0] == -1:
        print(tmp[0],tmp[1])
    else:
        print(tmp)




